package com.shensi.adminCollect.domain.coupon.cancel;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 优惠券核销记录表
 * @TableName coupon_write_off_records
 */
@TableName(value ="coupon_write_off_records")
@Data
public class CouponWriteOffRecords implements Serializable {
    /**
     * id
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 金额
     */
    private BigDecimal amt;

    /**
     * 优惠券券码
     */
    private String couponNo;

    /**
     * 油站id
     */
    private Long stationId;

    /**
     * 油企id
     */
    private Long enterpriseId;

    /**
     * 逻辑删除标志（0未删除 1已删除）
     */
    private Integer status;

    /**
     * 创建时间
     */
    private Date createdDate;

    /**
     * 优惠券类型
     */
    private Integer couponType;

    /**
     * 核销人员id
     */
    private Integer writeOffPersonnelId;

    /**
     * 修改时间
     */
    private Date updateTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}